import Vue from 'vue';
import App from './App';
import router from './router';
import store from './store';

// 样式引入
import 'font-awesome/less/font-awesome.less';
import './theme/default.less';

// 插件引入
import Ionic from '@ionic/vue';
import Http from '@/util/http';
import Util from '@/util/util';
import { AppComponents } from './app-register';
import { PageComponents } from './page-register';
import { UserComponents } from './user-register';

Vue.use(Ionic);
Vue.use(Http);
Vue.use(Util);
Vue.use(AppComponents);
Vue.use(PageComponents);
Vue.use(UserComponents);

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app');
